package com.itlong.cloud.paymenthub;

import com.itlong.cloud.POJO.VO.app.AppGetCarPaymentDetailVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <desc>
 *      车辆缴费明细暴露接口
 * </desc>
 *
 * @createDate 2018/11/12
 */
@FeignClient(name = "payment-hub-service")
public interface IAppCarPaymentDetailServiceClient {

    /**
     * <desc>
     *      获取该用户车辆缴费明细
     * </desc>
     *
     * @return 该用户车辆缴费明细
     * @author wanghzi
     * @createDate 2018/11/12
     */
    @PostMapping(path = "app/car/getCarPayDetail")
    AppGetCarPaymentDetailVO getCarPayDetail(@RequestParam("recordId") String recordId) throws Exception;
}
